package com.ruoyi.sale.service;

import java.util.List;
import com.ruoyi.sale.domain.SalesDeliveryItem;

/**
 * 销售发货明细Service接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface ISalesDeliveryItemService 
{
    /**
     * 查询销售发货明细
     * 
     * @param itemId 销售发货明细主键
     * @return 销售发货明细
     */
    public SalesDeliveryItem selectSalesDeliveryItemByItemId(Long itemId);

    /**
     * 查询销售发货明细列表
     * 
     * @param salesDeliveryItem 销售发货明细
     * @return 销售发货明细集合
     */
    public List<SalesDeliveryItem> selectSalesDeliveryItemList(SalesDeliveryItem salesDeliveryItem);

    /**
     * 新增销售发货明细
     * 
     * @param salesDeliveryItem 销售发货明细
     * @return 结果
     */
    public int insertSalesDeliveryItem(SalesDeliveryItem salesDeliveryItem);

    /**
     * 修改销售发货明细
     * 
     * @param salesDeliveryItem 销售发货明细
     * @return 结果
     */
    public int updateSalesDeliveryItem(SalesDeliveryItem salesDeliveryItem);

    /**
     * 批量删除销售发货明细
     * 
     * @param itemIds 需要删除的销售发货明细主键集合
     * @return 结果
     */
    public int deleteSalesDeliveryItemByItemIds(String itemIds);

    /**
     * 删除销售发货明细信息
     * 
     * @param itemId 销售发货明细主键
     * @return 结果
     */
    public int deleteSalesDeliveryItemByItemId(Long itemId);
}
